From 647f63ae76eb020d53c0c328aeaae989e8b682ad Mon Sep 17 00:00:00 2001 From: Tim Deegan Date: Thu, 26 Jan 2012 15:42:40 +0000 Subject: [PATCH] Get rid of non-static 'inline' modifiers (gcc 4.2.1 complains) They seem to have been introduced by accident in 23311:f4585056b9ae when some 'static inline' functions were moved out of a header Signed-off-by: Tim Deegan --- xen/arch/x86/xstate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/xstate.c b/xen/arch/x86/xstate.c index e4de1429ea..4d886386dc 100644 --- a/xen/arch/x86/xstate.c +++ b/xen/arch/x86/xstate.c @@ -40,13 +40,13 @@ static inline void xsetbv(u32 index, u64 xfeatures) "a" (lo), "d" (hi)); } -inline void set_xcr0(u64 xfeatures) +void set_xcr0(u64 xfeatures) { this_cpu(xcr0) = xfeatures; xsetbv(XCR_XFEATURE_ENABLED_MASK, xfeatures); } -inline uint64_t get_xcr0(void) +uint64_t get_xcr0(void) { return this_cpu(xcr0); } -- 2.30.2